package com.pro.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.RequiredArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class JsUser {
  private Integer userId;
  private String trueName;
  private String sex;
  private String account;
  private String acatarUrl;
  private String email;
  private String password;
  private String remark;
  private Integer enabled;
  private String phone;
  private String idCard;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date birthDate;
  private Integer deptId;
  private String freestyle;
  @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
  @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
  private Date registerDate;
  private String registerIp;
  private Integer status;
  private Integer grade;
  private double wages;

  private String deptName;

}
